﻿using System;
using System.Reflection;
using DynConDevCorp.OpenArch.SmartData.Interfaces.MetaData;

namespace DynConDevCorp.OpenArch.SmartData.Core.Metadata
{
    class SmartMetaAutoField : ISmartMetaAutoField
    {
        public SmartMetaAutoField()
        {
            AutoCreate = true;
        }
        public String FieldName { get; set; }
        public PropertyInfo Property { get; set; }
        public Type ConcreteType { get; set; }
        public Type SpecializationType { get; set; }
        public Type ActualType { get; set; }
        public ISmartMetaEvent ValueChangedEvent { get; set; }
        public String ValueChangedTargetMethodName { get; set; }
        public Boolean AutoCreate { get; set; }
        public Boolean InputInhibited { get; set; }
        public string DisplayFormatString { get; set; }
    }
}
